#!/bin/bash
IP=$1 #IP
SYS_NO=$2 #任务组号
FILE_NO=$3 #文件数
echo "开始执行"
openssl version

#ssh ${IP} source "/home/ftpapp/.bash_profile;nohup /home/ftpapp/bin/ma_jobmain -s ${SYS_NO} &"  > nohup.out &
ssh -q ${IP} 'source .bash_profile; sh $ETLPATH/shell/mon_status.sh '" ${SYS_NO} ${FILE_NO} >/dev/null 2>&1 &"

sleep 1
echo "执行结束"
exit 0